/*
public class test {
    */
/*

    public static void main2(String[] args) {
        *//*
 */
/*int a = 3;
        int b = 2;
        int d = 0;
        double c = a * 1.0 / b;//可以在int类型乘上一个小数，这样算出的数就是一个浮点数
        System.out.println(c);
        System.out.println(a%d);  //取模时数不能为零*//*
 */
/*

        double a =33.4;
        double b=2.2;
        System.out.println(a%b);  //可以对浮点数取模
    }

    public static void main1(String[] args) {
        int a = 20;
        int b = 3;
        System.out.println(a + b);
        System.out.println(a - b);
        System.out.println(a / b);
        System.out.println(a * b);
        System.out.println(a % b);
        double c = 2.4;
        System.out.println(a + c);
        System.out.println(a - c);
        System.out.println(a * c);
        System.out.println(a % c);
        System.out.println(a / c);
    }*//*

    //public static void main(String[] args) {
    */
/*int a = 1,b=3;
 *//*
 */
/*a++;
        System.out.println(a);
        b--;
        System.out.println(b);*//*
 */
/*

        a+=b;
        b-=a;
        System.out.println(a);
        System.out.println(b);*//*

 */
/*int a=3;
        a*=3;
        System.out.println(a);
        a/=3;
        System.out.println(a);
        //a%=1.4;
        double c= a*1.0%1.4;
        System.out.println(c);*//*

    //}

    */
/*public static void main(String[] args) {
        int a=20;
        int b=10;
        System.out.println(a==b);  //关系运算符得出来的结果是bool类型
        System.out.println(a!=b);  //关系运算符有== != > < >= <=
        System.out.println(a>b);
        System.out.println(a<b);
        System.out.println(a>=b);
        System.out.println(a<=b);
    }*//*


 */
/*public static void main(String[] args) {
        int a = 1;
        int b = 2;
*//*
 */
/*
        System.out.println(a == 1 && b == 2);
        System.out.println(a == 2 && b == 2);
        System.out.println(a == 1 || b == 2);
        System.out.println(a == 1 || b == 3);
        System.out.println(a == 0 || b == 0);
*//*
 */
/*
 *//*
 */
/*System.out.println(a == 1 || b == 2);
        System.out.println(a < 100 || b >= 2);
        System.out.println(a > 100 || b >= 200);*//*
 */
/*

        System.out.println(!(a==1));
        System.out.println(a!=1);
        System.out.println(!(a!=1));
    }*//*


 */
/*public static void main(String[] args) {
        int a=10;
        int b=20;
        System.out.println(a&b);
        System.out.println(a|b);
        a=0xf;
        System.out.println(~a);
    }*//*



 */
/* public static void main(String[] args) {
        int a=0x10;
        System.out.printf("%x\n",a>>1);
        int b=0x5;
        System.out.printf("%x\n",b>>2);
        System.out.println(b>>2);
    }*//*


 */
/*public static void main(String[] args) {
        int a=-1;
        System.out.println(a>>>1);
        System.out.println(a>>1);
        System.out.println(a>>1);
    }*//*


 */
/*public static void main(String[] args) {
        int a=10;
        int b=20;
        int x=30;
        int y=19;
        int c = a>b?100:200;
        int d = x>y?4444:5555;
        System.out.println(c);
        System.out.println(d);
    }*//*


    public static void main(String[] args) {
        int a=10;
        int b=20;
        int c =a+((b-a)>>1);
        System.out.println(c);
    }
}*/
